Filter Actions
When a rule is evaluated as true you have the following actions which you can apply to the message.
Multiple actions can be applied.
Checking an action will modify the Rule Description and may inset a clickable option to refine the action.
Action |
Description |
---|---|
Accept/Reject/Delete/Spam /Quarantine |
Check this option to mark the message for Rejection, Acceptance or Deletion. The text Reject is added to the rule description. Click on Reject to open the Message Action dialog, where you can choose to Reject, Accept or Delete the message, or mark it as spam. |
Stop processing more rules |
Check this option to stop processing this message against further rules. This is useful once you have reached a decision on what to do with this message and saves any further processing power. For example - if you set up a rule to delete all messages from the domain spamcity.com you can set the action to Delete the message and Stop at this rule. The rules processing is completed and the message deleted. |
Forward to email address |
Check this option to forward a copy of the message to another email address. The text email address is added to the rule description. Click on this to open the Email Address dialog, allowing you to specify the address(es) to forward the message to. Multiple accounts can be specified, separated by semicolons. Use the '...' button to select accounts. Note: In the Email Address field, the following syntax can be used: This forwards an email message as it is - without any changes of headers - to other server and leaves a copy on the original server. |
Copy to email address |
Check this option to have a copy of the message sent to another email address. The text email address is added to the rule description. Click on this to open the Email Address dialog, allowing you to specify the address(es) to send a message copy to. Multiple accounts can be specified, separated by semicolons. Use the '...' button to select accounts. Note: There is a difference between the Copy ... and Forward ... options: The forward action forwards the messages as-is without any changes done by the content filter. Provided that the Use MDA queue for internal message delivery option (Mail - General - Advanced) is enabled, the copy action sends the message after all changes by the content filter have been applied. Lets say the content filter contains an action to change the message's header. The forward will send the message without changes and the copy will send the changed header message. |
Move to folder |
Check this option to move the message to a folder. Click on folder in the rule description to open a folder-tree view dialog where you can select the folder to use. Note: You can use this action also for multiple users. E. g. you can set a filter with the Where Recipient matches some words condition for mike@mycompany.com; alison@mycompany.com (etc.) and Move to Marketing folder. Both (all) recipients will have emails matching the defined condition moved to their specified folders provided that they have them created. For additional information, refer to Rules. |
Copy to folder |
Check this option to copy the message to a folder. Click on folder in the rule description to open a dialog where you can select the folder to use.
For additional information, refer to Rules. |
Encrypt message |
Check this option to have IceWarp Server encrypt the message. Only incoming messages are encrypted provided that a recipient has a certificate uploaded on the server (and the filter condition is met). Certificates can be uploaded via IceWarp WebClient (the Tools - Options menu items - Security - Certificates tabs). If you want to enforce all users to have their messages encrypted, you can do it via IceWarp WebClient (Administrator Options - Mail - Default), provided that all of them have their certificates uploaded. |
Respond with message |
Check this option to send a message back to the sender of this message. The text message is added to the rule description. Click on this to open the Message dialog, where you can specify the From address, the Subject, the message Text (or a file containing the message text) and whether the message Type (Email, Instant message, or both). |
Send message |
Check this option to send a message to any user. The message link is added to the rule Description. Click the link to open the Message dialog, where you can define the To, From and Subject fields, the Text of the message (or a file to retrieve the text from), the type of a message (text, HTML, or message with attachment). |
Edit message header |
Check this option to edit the message headers. You can add, remove or change headers. The text header is added to the rule description. Click this to open the Headers dialog, where you can specify the action to take, and which header to take it on. Server variables are allowed here, so for example you could modify the Subject: header to add some text: For detailed information about server variables, refer to the Server Variables chapter. |
Set message priority to value |
Check this to change the message priority. Click Normal in the Description field to select the value of x-priority message header in the Message Priority dialogue. |
Set message flags |
Check this option to set message flags. Click on flags in the rule description to select which flags to set |
Add score |
Check this option to add a value to the spam score of the message. Click on 1.00 in the rule description to set the value to be added. Note: You can specify a negative value to have the spam score decreased. Note: When the message score is changed, the message is evaluated again whether it is OK or a spam. |
Execute application |
Check this option to run an executable. The text executable will be added to the rule description. Click this to open the Executable dialog where you can specify the fully qualified path to the executable and its type (Executable, StdCall, Cdecl or URL). When using the URL option, you can obtain the following HTTP status return codes:
|
Add header/footer |
Check this option to add a header and/or footer to the email. Headers and Footers are stored in files and can be plain text or HTML. The text header/footer is added to the rule description. Click this to open the Header/Footer dialog, which allows you to specify the fully qualified paths to the header and or footer files you want to add to the message. |
Strip all attachments |
Check this option to strip any attachments from the message. |
Extract all attachments to directory |
Check this option to store all attachments to a folder. The text directory is added to the rule description. Click this to open the extract attachments dialog, where you can specify the directory in which attachments should be stored. If the attachments is an IDP (IceWarp Data Packager) file you can optionally choose to have the files extracted from the package. You can also optionally choose to overwrite existing files. |
Perform SmartAttach |
Check the box if you want to extract attachments using SmartAttach. For detailed information about this feature, refer toSmartAttach. |
Add text to a file |
Check this option to add a line of text to a file. The text text is added to the rule description. Click this to open the Add Text dialog, where you can specify the fully qualified filename to write to and the text to be written. You can optionally choose to create a new file each time. System variables can be used within the text. This option can be useful to create your own format logs containing any information you wish to record |
Respond with SMTP message text |
Check this option to specify the SMTP servers response to the incoming message. The text text is added to the rule description. Click on this to open the SMTP Response dialog, which allows you to specify the text to send back to the originating server. The format of the text should be a numeric response code followed by your freeform text. |
Fix RFC822 message |
Check this option to fix messages that are not RFC822 compliant. These messages can cause problems with your server and with your user's email clients. Non-compliant messages are usually spam or hacker attacks and we recommend that you delete them with the condition "Where message violates RFC822" combined with Action "Delete" and "Stop at this filter" rather than allowing them through. |
Block sender's IP address |
Check this option to invoke Intrusion Prevention blocking rules to block this senders IP address for an amount of time. |
Execute SQL statement value |
Check this box to execute an SQL query against a database. Click value in the rule description to define the database connection parameters and the query to be run. |
Skip archive |
Check this box if you do not want messages matching conditions to be archived. |